-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amneziawg-tools: init at 1.0.20240213 #331582
Conversation
b833160
to
fd67cfc
Compare
fd67cfc
to
6b22087
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4446 |
6b22087
to
580b22d
Compare
lib.makeBinPath [ | ||
procps | ||
iproute2 | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When starting the systemd
unit, awg-quick
complained about readlink
missing. I added coreutils
here to resolve it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked awg-quick@name service, it doen't work, like the wg-quick@name. In wg-quick module some tools, like config.networking.firewall.package
are added to service path. I think the best solution is to update wireguard modules and add something like type = wireguard | amneziawg
option.
580b22d
to
62cd908
Compare
@averyanalex anything left there you want to do before merging? |
New version just released (18.10.2024) with minor improvements, I will update. Also, what do you think about #331582 (review)? Should "vanilla" systemd services work out of the box? |
It would be nice if they did. Not everybody have fully nixos managed wg/awg configs. |
62cd908
to
5e315ee
Compare
5e315ee
to
01b13b9
Compare
If I add coreutils to PATH, systemd service starts without errors, but uses iptables on nftables system and doesn't work. I think this can be merged as is. |
Nice, thank you! |
Init amneziawg-tools at 1.0.20240213
Censorship-resistant VPN based on wireguard.
https://amnezia.org
Depends on #331574.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.